package com.zlt.bkparking.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FeedbackExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FeedbackExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFbIdIsNull() {
            addCriterion("fb_id is null");
            return (Criteria) this;
        }

        public Criteria andFbIdIsNotNull() {
            addCriterion("fb_id is not null");
            return (Criteria) this;
        }

        public Criteria andFbIdEqualTo(Long value) {
            addCriterion("fb_id =", value, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdNotEqualTo(Long value) {
            addCriterion("fb_id <>", value, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdGreaterThan(Long value) {
            addCriterion("fb_id >", value, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdGreaterThanOrEqualTo(Long value) {
            addCriterion("fb_id >=", value, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdLessThan(Long value) {
            addCriterion("fb_id <", value, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdLessThanOrEqualTo(Long value) {
            addCriterion("fb_id <=", value, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdIn(List<Long> values) {
            addCriterion("fb_id in", values, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdNotIn(List<Long> values) {
            addCriterion("fb_id not in", values, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdBetween(Long value1, Long value2) {
            addCriterion("fb_id between", value1, value2, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbIdNotBetween(Long value1, Long value2) {
            addCriterion("fb_id not between", value1, value2, "fbId");
            return (Criteria) this;
        }

        public Criteria andFbDescIsNull() {
            addCriterion("fb_desc is null");
            return (Criteria) this;
        }

        public Criteria andFbDescIsNotNull() {
            addCriterion("fb_desc is not null");
            return (Criteria) this;
        }

        public Criteria andFbDescEqualTo(String value) {
            addCriterion("fb_desc =", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescNotEqualTo(String value) {
            addCriterion("fb_desc <>", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescGreaterThan(String value) {
            addCriterion("fb_desc >", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescGreaterThanOrEqualTo(String value) {
            addCriterion("fb_desc >=", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescLessThan(String value) {
            addCriterion("fb_desc <", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescLessThanOrEqualTo(String value) {
            addCriterion("fb_desc <=", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescLike(String value) {
            addCriterion("fb_desc like", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescNotLike(String value) {
            addCriterion("fb_desc not like", value, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescIn(List<String> values) {
            addCriterion("fb_desc in", values, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescNotIn(List<String> values) {
            addCriterion("fb_desc not in", values, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescBetween(String value1, String value2) {
            addCriterion("fb_desc between", value1, value2, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbDescNotBetween(String value1, String value2) {
            addCriterion("fb_desc not between", value1, value2, "fbDesc");
            return (Criteria) this;
        }

        public Criteria andFbTimeIsNull() {
            addCriterion("fb_time is null");
            return (Criteria) this;
        }

        public Criteria andFbTimeIsNotNull() {
            addCriterion("fb_time is not null");
            return (Criteria) this;
        }

        public Criteria andFbTimeEqualTo(Date value) {
            addCriterion("fb_time =", value, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeNotEqualTo(Date value) {
            addCriterion("fb_time <>", value, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeGreaterThan(Date value) {
            addCriterion("fb_time >", value, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("fb_time >=", value, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeLessThan(Date value) {
            addCriterion("fb_time <", value, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeLessThanOrEqualTo(Date value) {
            addCriterion("fb_time <=", value, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeIn(List<Date> values) {
            addCriterion("fb_time in", values, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeNotIn(List<Date> values) {
            addCriterion("fb_time not in", values, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeBetween(Date value1, Date value2) {
            addCriterion("fb_time between", value1, value2, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbTimeNotBetween(Date value1, Date value2) {
            addCriterion("fb_time not between", value1, value2, "fbTime");
            return (Criteria) this;
        }

        public Criteria andFbStateIsNull() {
            addCriterion("fb_state is null");
            return (Criteria) this;
        }

        public Criteria andFbStateIsNotNull() {
            addCriterion("fb_state is not null");
            return (Criteria) this;
        }

        public Criteria andFbStateEqualTo(Boolean value) {
            addCriterion("fb_state =", value, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateNotEqualTo(Boolean value) {
            addCriterion("fb_state <>", value, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateGreaterThan(Boolean value) {
            addCriterion("fb_state >", value, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateGreaterThanOrEqualTo(Boolean value) {
            addCriterion("fb_state >=", value, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateLessThan(Boolean value) {
            addCriterion("fb_state <", value, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateLessThanOrEqualTo(Boolean value) {
            addCriterion("fb_state <=", value, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateIn(List<Boolean> values) {
            addCriterion("fb_state in", values, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateNotIn(List<Boolean> values) {
            addCriterion("fb_state not in", values, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateBetween(Boolean value1, Boolean value2) {
            addCriterion("fb_state between", value1, value2, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbStateNotBetween(Boolean value1, Boolean value2) {
            addCriterion("fb_state not between", value1, value2, "fbState");
            return (Criteria) this;
        }

        public Criteria andFbBak1IsNull() {
            addCriterion("fb_bak1 is null");
            return (Criteria) this;
        }

        public Criteria andFbBak1IsNotNull() {
            addCriterion("fb_bak1 is not null");
            return (Criteria) this;
        }

        public Criteria andFbBak1EqualTo(String value) {
            addCriterion("fb_bak1 =", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1NotEqualTo(String value) {
            addCriterion("fb_bak1 <>", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1GreaterThan(String value) {
            addCriterion("fb_bak1 >", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1GreaterThanOrEqualTo(String value) {
            addCriterion("fb_bak1 >=", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1LessThan(String value) {
            addCriterion("fb_bak1 <", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1LessThanOrEqualTo(String value) {
            addCriterion("fb_bak1 <=", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1Like(String value) {
            addCriterion("fb_bak1 like", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1NotLike(String value) {
            addCriterion("fb_bak1 not like", value, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1In(List<String> values) {
            addCriterion("fb_bak1 in", values, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1NotIn(List<String> values) {
            addCriterion("fb_bak1 not in", values, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1Between(String value1, String value2) {
            addCriterion("fb_bak1 between", value1, value2, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak1NotBetween(String value1, String value2) {
            addCriterion("fb_bak1 not between", value1, value2, "fbBak1");
            return (Criteria) this;
        }

        public Criteria andFbBak2IsNull() {
            addCriterion("fb_bak2 is null");
            return (Criteria) this;
        }

        public Criteria andFbBak2IsNotNull() {
            addCriterion("fb_bak2 is not null");
            return (Criteria) this;
        }

        public Criteria andFbBak2EqualTo(String value) {
            addCriterion("fb_bak2 =", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2NotEqualTo(String value) {
            addCriterion("fb_bak2 <>", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2GreaterThan(String value) {
            addCriterion("fb_bak2 >", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2GreaterThanOrEqualTo(String value) {
            addCriterion("fb_bak2 >=", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2LessThan(String value) {
            addCriterion("fb_bak2 <", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2LessThanOrEqualTo(String value) {
            addCriterion("fb_bak2 <=", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2Like(String value) {
            addCriterion("fb_bak2 like", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2NotLike(String value) {
            addCriterion("fb_bak2 not like", value, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2In(List<String> values) {
            addCriterion("fb_bak2 in", values, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2NotIn(List<String> values) {
            addCriterion("fb_bak2 not in", values, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2Between(String value1, String value2) {
            addCriterion("fb_bak2 between", value1, value2, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andFbBak2NotBetween(String value1, String value2) {
            addCriterion("fb_bak2 not between", value1, value2, "fbBak2");
            return (Criteria) this;
        }

        public Criteria andAuIdIsNull() {
            addCriterion("au_id is null");
            return (Criteria) this;
        }

        public Criteria andAuIdIsNotNull() {
            addCriterion("au_id is not null");
            return (Criteria) this;
        }

        public Criteria andAuIdEqualTo(String value) {
            addCriterion("au_id =", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotEqualTo(String value) {
            addCriterion("au_id <>", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdGreaterThan(String value) {
            addCriterion("au_id >", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdGreaterThanOrEqualTo(String value) {
            addCriterion("au_id >=", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdLessThan(String value) {
            addCriterion("au_id <", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdLessThanOrEqualTo(String value) {
            addCriterion("au_id <=", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdLike(String value) {
            addCriterion("au_id like", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotLike(String value) {
            addCriterion("au_id not like", value, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdIn(List<String> values) {
            addCriterion("au_id in", values, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotIn(List<String> values) {
            addCriterion("au_id not in", values, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdBetween(String value1, String value2) {
            addCriterion("au_id between", value1, value2, "auId");
            return (Criteria) this;
        }

        public Criteria andAuIdNotBetween(String value1, String value2) {
            addCriterion("au_id not between", value1, value2, "auId");
            return (Criteria) this;
        }

        public Criteria andPlIdIsNull() {
            addCriterion("pl_id is null");
            return (Criteria) this;
        }

        public Criteria andPlIdIsNotNull() {
            addCriterion("pl_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlIdEqualTo(Integer value) {
            addCriterion("pl_id =", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdNotEqualTo(Integer value) {
            addCriterion("pl_id <>", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdGreaterThan(Integer value) {
            addCriterion("pl_id >", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pl_id >=", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdLessThan(Integer value) {
            addCriterion("pl_id <", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdLessThanOrEqualTo(Integer value) {
            addCriterion("pl_id <=", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdIn(List<Integer> values) {
            addCriterion("pl_id in", values, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdNotIn(List<Integer> values) {
            addCriterion("pl_id not in", values, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdBetween(Integer value1, Integer value2) {
            addCriterion("pl_id between", value1, value2, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pl_id not between", value1, value2, "plId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}